package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.common.result.Result;
import com.example.entity.yifei.Cmsmb;
import com.example.service.CmsmbService;
import com.example.mapper.CmsmbMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 14501
* @description 针对表【CMSMB】的数据库操作Service实现
* @createDate 2024-08-13 13:24:11
*/
@Service
public class CmsmbServiceImpl extends ServiceImpl<CmsmbMapper, Cmsmb>
    implements CmsmbService{

    @Resource
    private CmsmbMapper cmsmbMapper;

    @Override
    public Result<List<Cmsmb>> queryList() {
        List<Cmsmb> cmsmbList = this.cmsmbMapper.selectList(null);
        return Result.success(cmsmbList);
    }
}




